package me.spring.cloud.components.starter.oauth2.aspect;

import me.spring.cloud.components.starter.oauth2.url.EnableIgnoreUrl;
import me.spring.cloud.components.starter.oauth2.url.properties.IgnoreUrlProperties;
import me.spring.cloud.components.starter.oauth2.aspect.aspect.AuthAspect;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * @author luffy
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@EnableAspectJAutoProxy
@EnableIgnoreUrl
@Import(AuthAspect.class)
@EnableConfigurationProperties(IgnoreUrlProperties.class)
public @interface EnableOAuth2Aspect {
}
